† Corresponding author. E-mail:
Project supported by the State Key Development Program for Basic Research of China (Grant No. 2014CB541602), the National Natural Science Foundation of China (Grant Nos. 51677008 and 51707028), and the Fundamental Research Funds of Central Universities, China (Grant No. 106112015CDJXY150003).
Low-field nuclear magnetic resonance magnet (2 MHz) is required for rock core analysis. However, due to its low field strength, it is hard to achieve a high uniform B0 field only by using the passive shimming. Therefore, active shimming is necessarily used to further improve uniformity for Halbach magnet. In this work, an equivalent magnetic dipole method is presented for designing shim coils. The minimization of the coil power dissipation is considered as an optimal object to minimize coil heating effect, and the deviation from the target field is selected as a penalty function term. The lsqnonlin optimization toolbox of MATLAB is used to solve the optimization problem. Eight shim coils are obtained in accordance with the contour of the stream function. We simulate each shim coil by ANSYS Maxwell software to verify the validity of the designed coils. Measurement results of the field distribution of these coils are consistent with those of the target fields. The uniformity of the B0 field is improved from 114.2 ppm to 26.9 ppm after using these shim coils.
Low-field nuclear magnetic resonance (NMR) magnets (2 MHz) are required to reduce the negative effect of paramagnetic impurities in the rock core by using NMR analysis. In recent years, Halbach magnet has become a hot research spot in low-field NMR due to its compactable structure and using no iron yoke(i.e. light in weight).[1–4] However, due to its low field strength, it is hard to achieve a high uniform B0 field only by using the passive shimming. Therefore, active shimming is necessary to further improve uniformity for Halbach magnet.
The method of improving magnetic field uniformity, that is, shimming, includes passive and active shimming. Active shimming is achieved by using shim coils, which can generate a magnetic field and cancel the non-uniform component of the main magnetic field.
The two methods for designing shim coil are regular separation method and distributed winding method.[5] The former uses a predetermined coil shape as a basic coil unit, and the whole structure is obtained by using an optimization algorithm, such as the conjugate gradient descent algorithm,[6] Levenberg--Marquardt algorithm,[7] simulated annealing method,[8,9] hybrid optimization algorithm,[10] and fuzzy membership function method.[11] The distributed winding method can improve the performance of the coil, although the coil structure designed by this method is based on magnetic field distributed in the region of interest (ROI).[12] The methods included are matrix inversion,[13,14] stream function,[15,16] target field,[17] harmonic coefficient,[18,19] and equivalent magnetic dipole methods.[20–23] These methods have been successfully used for shimming the superconductor and permanent magnet and designing RF coils and gradient coil.
Zhao [24] designed cylinder saddle shim coils for Halbach magnet by regular separation method, in which the shim coils are composed of straight and arc wires of a particular size, but the magnetic fields in ROI inevitably have other components, such as the Z and other components produced by Y(Y2 − 3Z2) shim coil. Equivalent magnetic dipole method introduced by Liu[21] can successfully be used for designing the shim coils. But, it is difficult to satisfy the magnetic field constraint condition in the second programming algorithm, and an inappropriate initial solution may cause the solution to non-converge. To avoid this problem, we construct an unconstrained optimization problem by adding magnetic field constraint condition as an appropriate penalty function.
In this work, shim coils are distributed on a cylindrical epoxy resin tube (94 mm in diameter). Figure
We expand the main magnetic field by sphere harmonic series before the active shimming[25] and obtain its non-uniform components. We fabricate the X, Y, Z, XY, XZ, YZ, X2 − Y2, and 2Z2 − X2 − Y2 shim coils and complete the corresponding experiment in this work to cancel the non-uniform components. These shim coils are described as follows.
Current distribution on the cylindrical surface is divided into small discrete elements that can be regarded as magnetic dipoles. Based on current continuity theorem, the stream function that satisfies the condition that the curl is equal to current density on the cylindrical surface is presented. The relationship between target magnetic field and stream function is then established, and the stream function based on an expected magnetic field in the ROI is obtained. We can achieve the winding pattern of shim coil in accordance with the stream function.[26]
In the equivalent magnetic dipole method, the wiring area for shim coil is divided into several curved rectangular sheets. Each sheet is filled with a small rectangular current loop. The small rectangular current can be regarded as a magnetic dipole when its area is sufficiently small. In Fig.
The key point of this algorithm is to inversely deduce the structure of shim coil in accordance with the given magnetic field distribution. The magnetization of a single dipole is
In Fig.
If a ≪ |
If the magnetic field distribution is set to be the only constraint condition optimal object, then the structure of a shim coil is very complex, and the winding is not smooth. This condition will lead to an unrealizable structure in engineering, and the local temperature will be very high with current following in the coil. The addition of other constraint conditions or optimal objects, such as minimizing inductance and power dissipation, becomes necessary for optimizing the coil structure.[28,29] We select a minimizing power dissipation as the optimal object to minimize the negative effect on the temperature stability of a magnet given coil heating. The power dissipation produced by a single magnetic dipole may be determined as follows:
Power dissipation is produced by the entire shim coil and can be expressed as
In accordance with Eq. (
For the quadratic programming problem, finding a favorable initial value of a solution that satisfies Eq. (
The second term on the right-hand side of Eq. (
Equation (
We can obtain the optimal value of stream function Sq by using the lsqnonlin toolbox, and the winding structure of the shim coil can be obtained in accordance with the contour line of the stream function. Here, we select the average deviation of the magnetic field (tolerance) as an optimization criterion, which can be expressed as
The penalty parameter λ for obtaining the optimal solution is obtained by the following steps:
(i) Set initial λ0, λ0 > 0. (ii) Obtain the optimal solution Sq in accordance with Eq. (
The parameter sequence λk can be selected adaptively on the basis of the difficulty of minimizing the penalty function at each iteration.[30] We select λk+1 to be only modestly larger than λk when minimizing f(Sq, λk) becomes costly for a certain k such as λk+1 = 2λk. If we find the approximate minimizer of f(Sq, λk) inexpensively, then we could attempt an ambitious reduction, say, λk+1 = 10λk.
Shim coil is located on a cylinder. The cylinder is 94 mm in diameter and 300 mm in length; its ROI is a spherical area that is 40 mm in diameter in the center. Wiring area for shim coil is divided into 100 × 100 curved rectangular sheets, and target points are distributed evenly on spherical surface (40 mm in diameter) at an angle, the total number of target points is 10 × 10. The X, Y, Z, XY, XZ, YZ, X2 − Y2, and 2Z2 − X2 − Y2 shim coils are designed. In accordance with the calculation results, we find that the X shim coil that rotates 45° around the z axis is Y shim coil, XZ shim coil that rotates 45° around the z axis is YZ shim coil, and XY shim coil that rotates 30° is X2 − Y2 shim coil. All structures of shim coils are demonstrated in Fig.
All shim coils are made of a double-sided flexible printed circuit board (PCB). The material of the shim coil is copper (0.07 mm in thickness). The substrate of the shim coil is FR-4 (0.3 mm in thickness). All shim coils are exhibited as shown in Fig.
We built a three-dimensional (3D) stepper motor measurement platform as presented in Fig.
Shim coils are of discretely distributed coil structure shown in Fig.
The uniformity of the B0 field is beyond the accuracy range of the hall gauss meter (F.W. Bell8030, USA) after passive shimming. Hence, we develop an NMR gauss meter to measure the B0 field. Figure
A spectral analysis method is used for evaluating the uniformity of the B0 field before and after active shimming. The frequency spectrum can be obtained by applying Fourier transform to Carr–Purcell–Meiboom–Gill (CPMG) echo signals. A full width at half maximum (FWHM) of the frequency spectrum is related to an equivalent transverse relaxation time
In accordance with Eqs. (
Two measurement methods are used in this work to measure the B0 field. The first method is to measure the uniformity of the B0 field on a spherical surface (40 mm in diameter) by using several small sensors, which are composed of five RF coils (40 turns and 5 mm in inner diameter) with H2O samples (water in glass tube, of which the inner diameter is 3 mm) as illustrated in Figs.
We obtain the magnitude of the magnetic field in the ROI based on the frequency spectrum of the CPMG echo signals that are measured by each RF coil. The parameters of the CPMG sequence are given as follows: the width of the 90° and 180° pulses are both 22 μs; the attenuations of the 90° and 180° pulses are −18 dB and −12 dB, respectively; echo time is 105 μs; the dwell time is 20 μs; the number of echoes is 10; the number of scans is 15; and repetition time is 8500 ms. The B0 magnetic field on a sphere (40 mm in diameter) is measured by rotating the NMR Gauss meter as demonstrated in Fig.
The shimming experiment is first accomplished in the order of X, Y, Z, XY, XZ, YZ, X2 − Y2, and 2Z2 − X2 − Y2 in the shimming process. We find that XZ and 2Z2 − X2 − Y2 shim coils have better effects than other coils. The required currents in the XZ and 2Z2 − X2 − Y2 shim coils are predetermined, and then the currents in the other shim coils are adjusted. The optimal currents in shim coils are listed in Table
The uniformity of the B0 field before and after active shimming are exhibited in Figs.
The results indicate that the uniformity of the B0 field is clearly improved after using shim coils, and the uniformity of the B0 field is improved from 114.2 ppm to 26.9 ppm.
In this study, we present an equivalent magnetic dipole method for designing the shim coils in Halbach magnet active shimming. We set minimizing the power dissipation to be the optimal object and magnetic field deviation of shim coils to be the constraint condition. The unconstrained optimization problem is solved by using the lsqnonlin optimization toolbox in MATLAB. Eight shim coils are designed by this method. The uniformity of B0 field is improved from 114.2 ppm to 26.9 ppm after using the eight shim coils.
The proposed method has a disadvantage in practical application, although this method is efficient for designing shim coils. The magnetic field produced by each shim coil contains not only the corresponding magnetic field components but also the components of other orders. For example, the magnetic field produced by XY shim coil contains XZ, X2 − Y2, and other components. These components still affect the actual shimming and increase the difficulty in shimming, although these components are small. Therefore, designing a shim coil that contains minimal unwanted components is our future work. The increase in harmonic coefficient constraints may be worth considering further for designing the shim coils.
[1] | |
[2] | |
[3] | |
[4] | |
[5] | |
[6] | |
[7] | |
[8] | |
[9] | |
[10] | |
[11] | |
[12] | |
[13] | |
[14] | |
[15] | |
[16] | |
[17] | |
[18] | |
[19] | |
[20] | |
[21] | |
[22] | |
[23] | |
[24] | |
[25] | |
[26] | |
[27] | |
[28] | |
[29] | |
[30] | |
[31] | |
[32] |